* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 设置整体页面高度 */
html, body {
    height: 100%;
    background-image: url(../images/others/background_new.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* 上方导航栏 */
.nav {
    width: 100%;
    height: 50px;
    background-color:lightyellow;
    color: saddlebrown;
    display: flex;
    justify-content: left;
    align-items: center;
}
/* 导航栏中的图标 */
.nav img {
    width: 40px;
    height: 40px;
    margin-left: 30px;
    margin-right: 10px;
    border-radius: 50%;
}
/*个人中心*/
.personlog:hover .log_new {
    display: block;
}
.log_new{
    position: absolute;
    height: 50px;
    width: 100px;
    background-color:lightblue;
    display: none;
    border-radius: 7px;
    margin-top: 1px;
}
.log_new li{
    position: absolute;
    margin-left: 7px;
    margin-top: 15px;
    color: black;
    background-color: floralwhite;
}
.log_new>li>a:hover{
    background-color: lightgrey;
}
/* 导航栏中的占位器 */
.nav .spacer {
    width: 70%;

}

/* 导航栏中的按钮 */
.nav a {
    color: #aba3a3;
    text-decoration: none;
    padding: 0 10px;
}
a:hover{
    background-color: wheat;
}
.search{
    position: relative;
    margin-left: 500px;

}
.search .in{
    position: absolute;
    width: 300px;
    height: 35px;
    border-radius: 10px 0 0 10px;
    border-right:none;
    border: 1px solid lightpink;
    background-color:whitesmoke;
    margin-top: -10px;
}
.search .in:hover{
    border: 1px solid mediumpurple;
    background-color:white;
}
.search .btn_search{
    position: absolute;
    width: 60px;
    height: 35px;
    border: none;
    margin-left:300px;
    margin-top: -10px;
    background-color:lightsalmon ;
    border-radius: 0 10px 10px 0;
}
.search .btn_search:hover{
    background-color: gainsboro;
}
/* 页面内容容器, 版心 */
.container {
    /* 使用 calc 计算高度 */
    height: calc(100% - 50px);
    /* 设置版心宽度 */
    width: 1000px;
    /* 水平居中 */
    margin: 0 auto;
    /* 使用弹性布局 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 左侧部分, 用来放置用户信息 */
.container-left {
    height: 100%;
    width: 200px;

}

/* 右侧部分, 用来放置正文 */
.container-right {
    height: 100%;
    /* 和左侧部分中间留出 5px 间隙 */
    width: 820px;
    /* 如果内容溢出就自动加上滚动条 */
    overflow: auto;
    backdrop-filter: blur(20px);
    border-radius: 10px;
    border: 1px solid lightgoldenrodyellow;
    position: relative;
    left: -100px;
}

/* 展示用户信息的卡片 */
.card {
    position: absolute;
    margin-left: -270px;
    width: 300px;
    background:linear-gradient(lightblue,wheat);
    border-radius: 10px;
    padding: 30px;
    opacity: .7;
}

/* 用户头像 */
.card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
#image1,#image2{
bottom: -28px;
}
.agree,.colle{
    position: absolute;
    font-size: 3px;
    width: 35px;
    background-color: lightgrey;
    border: 1px solid black;
    color: #0a001f;
    letter-spacing: 2px;
    display: none;
}
.cute1,.cute2{
    width: 40px;
    height: 50px;
position: absolute;
    display: none;
    opacity: .5;
border-radius: 40%;
}
/*------------*/
.verygood{
    position: absolute;
    font-size: 3px;
    width: 35px;
    background-color: whitesmoke;
    color: #0a001f;
    letter-spacing: 2px;
    display: none;
}
/*用户点赞按钮*/
.card image{
    width: 140px;
    height: 140px;
    border-radius: 50%;
}
.card span{
    position: relative;
   margin-left: -60px;
}
/* 用户名 */
.card h3 {
    text-align: center;
    padding: 10px;
}

/* 用户 github 链接 */
.card a {
    display: block;
    text-align: center;
    color: #999;
    text-decoration: none;
    padding: 10px;
}

/* 展示文章数目的面板 */
.card .counter {
    padding: 5px;
    display: flex;
    justify-content: space-around;
}
.counter img{
    padding: 1px;
  position: relative;
    margin: 10px;
    margin-left: -50px;
}
.a_pre{
    background-color: skyblue;
    text-decoration: none;
    width: 70px;
    height: 25px;
    border-radius: 5px;
    color: black;
}
.a_next{
    background-color: skyblue;
    text-decoration: none;
    width: 70px;
    height: 25px;
    border-radius: 5px;
    color: black;
}
.verygoood{
    width:500px;
    height: 500px;
    background-color: indianred;
    z-index: 300;
    position: absolute;
 margin-left: 200px;
    display: none;
}
.verygoood .hao{
    width: 300px;
    height: 300px;
    position: absolute;
    top:130px;
    left: 130px;
}
.verygoood .haohao{
    width: 200px;
    height: 50px;
    border-radius: 10px;
    background-color: palevioletred;
    position: absolute;
    top:450px;
    left: 200px;
}
